package com.wangjiacai.utils.translate;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;

public interface Translate {

    CompletableFuture<String> translateAsync(String sourceLan, String targetLan, String content);

    CompletableFuture<String> translateAsync(String sourceLan, String targetLan, String content, Executor executor);

    String translate(String sourceLan, String targetLan, String content);

}
